﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GetHardwareMessage
{
    class Program
    {
        static void Main(string[] args)
        {
            //获取cpu型号
            Console.WriteLine(HandWareUtil.getCpu());
            //获取硬盘
            Console.WriteLine(HandWareUtil.GetDiskVolumeSerialNumber());
            Console.ReadKey();
        }
    }
}
